import 'package:flutter/cupertino.dart';

class BaseImage extends StatefulWidget {
  final String image;
  final double? width;
  final double? height;
  const BaseImage({Key? key, required this.image,this.width,this.height}) : super(key: key);

  @override
  State<BaseImage> createState() => _BaseImageState();

}

class _BaseImageState extends State<BaseImage> {
  @override
  Widget build(BuildContext context) {
    return Image(image: AssetImage("packages/jetour_line/res/${widget.image}.png"),width: widget.width,height: widget.height,);
  }

}
